package com.jiyun.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.mapper.ZlInstitutionMapper;
import com.jiyun.model.information.ZlInstitution;
import com.jiyun.service.ZlInstitutionService;
import com.jiyun.vo.ZlInstitutionVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2024-09-20
 */
@Service
public class ZlInstitutionServiceImpl extends ServiceImpl<ZlInstitutionMapper, ZlInstitution> implements ZlInstitutionService {





    @Autowired
    private ZlInstitutionMapper institutionMapper;


    @Override
    public IPage<ZlInstitution> findPage(Integer pn, Integer ps, ZlInstitutionVo vo) {
        Page<ZlInstitution> page = new Page<>(pn, ps);
        return institutionMapper.findPage(page,vo);
    }





}
